package com.example.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ysb
 * @version V1.0
 * @Date 2024/11/12
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.mqtt")
public class MqttConfigurationProperties {

    private String username;

    private String password;

    private String url;

    private String subClientId;

    private String subTopic;

    private String pubClientId;

}
